﻿component persistent="true" accessors="true" {
    property name="id" generator="native" ormtype="integer" ; 
    property name="description" ormtype="string" length="100";
    property name="text" ormtype="string" length="50";
    property name="state" ormtype="string" length="10";
    property name="url" ormtype="string" length="200";
    property name="seq" ormtype="integer" length="11";
    property name="created" ormtype="timestamp";
    property name="edited" ormtype="timestamp";

	property name="children" fieldType="one-to-many" cfc="resource" fkcolumn="resourceid" ;
	property name="parent" fieldtype="many-to-one" cfc="resource" fkcolumn="resourceid";
	property name="resourcetype" fieldType="many-to-one" cfc="resourcetype" fkcolumn="resourcetypeid";
	
}